package sort

object TestSorted {
  def main(args: Array[String]): Unit = {
    import ImplicitValue.KeyOrdering

    val tuples: List[(BigDecimal, Long)] = List((1234, 555), (1011, -443), (1111, 999), (1231, 767), (1111, 324), (1120, 888),(1011, 443))

    val (x,y) = tuples.sorted.head

    println(x + "===" + y)
  }
}
